package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.pojo.Member;

import java.util.List;
import java.util.Map;

public interface MemberService {

    public void add(Member member);

    public Member findByTelephone(String telephone);

    public List<Integer> findMemberCountByMonth(List<String> month);
    //已到诊
    List<Integer> findUnMemberCountByMonth(List<String> list);

    PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);

    Member findById(Integer id);

    void edit(Member member);

    void delete(Integer id);


    List<Map<String,Object>> findByBirthdayCount() throws Exception;

    //修改手机号
    Member changePhoneNumber(Map map);

    Member update(Member member);

    void deleteMembersByIds(Integer[] params);
}
